package com.FangFaYingYong.A01FangFaYingYong;

import java.util.ArrayList;
import java.util.Collections;

public class A05_Function {
    public static void main(String[] args) {
        ArrayList<String> list = new ArrayList<>();
        Collections.addAll(list,"aaa","bbb","ccc","ddd","eee","fff");

        list.stream().map(String::toUpperCase).forEach(System.out::println);
    }
}
